Aiming at the problems of the energy consumption of 802.15.4 network, a channel access mechanism for Media Access Control (MAC) layer based on multi-condition sleep mode was proposed. First, a Markov model of the mechanism was established. Then, the mathematical derivation based on the model of the steady-state probability of the main state, related parameters were given out. Furthermore, the analysis of the node average energy consumption in superframe was carried out. At last, the influence of the protocol parameters such as arrival rate of packets, number of back, superframe order and mininum of backoff exponent to the steady-state probability of the main state, the average energy consumption and the survival time of node was researched. The experimental results show that, compared with 802.15.4 network without node sleep state, the node energy consumption is reduced by 84.4% or so. And compared with the methods of some conditions, node energy consumption is reduced by 62.8% on average; the average survival time of network is increased by 70%. The model describes the proposed channel access mechanism very well, and the reasonable settings for parameters can improve the performance of node energy consumption. It also provides reference for the energy optimization in the practical application of Wireless Sensor Network (WSN).